<?php
/**
 * (actions) sku(EU国家)
 */
namespace App\Admin\Actions\Stocking;

use Encore\Admin\Grid\Tools\AbstractTool;
class ImportCountrySku extends AbstractTool
{
    /**
     * Render Export button.
     *
     * @return string
     */
    public function render()
    {
        $url = '/xqc/stocking/country-sku-upload';

        return <<<EOT
<div class="btn-group">
    <a href="{$url}?type=ratio" class="btn btn-sm btn-primary">导入EU销售比例</a>
</div>
<div class="btn-group">
    <a href="{$url}?type=estimate" class="btn btn-sm btn-warning">导入EU品类预估</a>
</div>
EOT;
    }
}
